<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
  export default {
    mounted() {
      let width = document.body.clientWidth;
      document.getElementsByTagName('html')[0].style.fontSize = width / 9 + 'px';
    }
  }
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
  @import "~common/stylus/variable"
  #app
    min-height: 100%;

</style>
